package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Dept;

import java.util.List;

/**
 * @author: hm
 * @Date: 2025/09/29 20:25
 * @Description:
 */
public interface DeptService {

    List<Dept> getAllDepts();

    void deleteById(Integer id);

    void update(Dept dept);

    Dept getById(Integer id);

    PageResult<Dept> page(String name, Integer status, Integer page, Integer pageSize);

    void addDept(Dept dept);
}
